package com.yuncheng.spcyApi.bo;

import java.awt.*;
import java.util.List;

/**
* 表样属性
*/
public class Table {
    /**
     * 表头背景色
     */
    private Color headerBackGroundColor;
    /**
     * 表头字体
     */
    private Font headerFont;
    /**
     * 单元格字体
     */
    private Font cellFont;
    /**
     * 表头单元格
     */
    private java.util.List<Cell> headCells;
    /**
     * 要合并的列
     */
    private int[] mergeColumns;
    /**
     * 行高
     */
    private int rowHeight = 30;
    /**
     * 上边距
     */
    private int marginY = 10;
    /***
     * 左边距
     */
    private int marginX = 10;

    public Color getHeaderBackGroundColor() {
        return headerBackGroundColor;
    }

    public void setHeaderBackGroundColor(Color headerBackGroundColor) {
        this.headerBackGroundColor = headerBackGroundColor;
    }

    public Font getHeaderFont() {
        return headerFont;
    }

    public void setHeaderFont(Font headerFont) {
        this.headerFont = headerFont;
    }

    public Font getCellFont() {
        return cellFont;
    }

    public void setCellFont(Font cellFont) {
        this.cellFont = cellFont;
    }

    public java.util.List<Cell> getHeadCells() {
        return headCells;
    }

    public void setHeadCells(List<Cell> headCells) {
        this.headCells = headCells;
    }

    public int[] getMergeColumns() {
        return mergeColumns;
    }

    public void setMergeColumns(int[] mergeColumns) {
        this.mergeColumns = mergeColumns;
    }

    public int getRowHeight() {
        return rowHeight;
    }

    public void setRowHeight(int rowHeight) {
        this.rowHeight = rowHeight;
    }

    public int getMarginY() {
        return marginY;
    }

    public void setMarginY(int marginY) {
        this.marginY = marginY;
    }

    public int getMarginX() {
        return marginX;
    }

    public void setMarginX(int marginX) {
        this.marginX = marginX;
    }
}
